package com.itcoon.cloud.framework.temporal;/**
 * @author Athric Yu
 * 2024/11/15
 **/

import com.itcoon.cloud.framework.properties.TemporalPatternConfigProperties;

import java.io.Serializable;
import java.time.temporal.Temporal;

/**
 *
 *
 * @author Athric Yu
 * 2024/11/15
 **/
public abstract class AbstractConverter<S extends Serializable, T extends Temporal> implements TemporalConvertable<S, T>{

    protected final TemporalPatternConfigProperties.TemporalSerialization<S, T> temporalSerialization;

    protected AbstractConverter(TemporalPatternConfigProperties.TemporalSerialization<S, T> temporalSerialization) {
        this.temporalSerialization = temporalSerialization;
    }


}
